<?php

namespace app\admin\model;

class Advertiselocal extends Base
{

    public function getTypeAttr($type){
        switch ($type){
            case 0 :
                $type = '首页轮播广告';
                break;
            case 1 :
                $type = '首页橱窗广告';
                break;
            default : break;
        }

        return $type;
    }

}